/* 
  1，导入react和react-dom
  2.通过react的api创建react元素,虚拟dom
  3.把react元素渲染到页面中
*/
import React from 'react'
import ReactDOM from 'react-dom'
// React.Fragment
const element = (
  <>
    <div>你好</div>
    <span>123</span>
    <a href='http://baidu.com'>百度一下</a>
    <span></span>
  </>
)
// console.log(element);
ReactDOM.render(element, document.getElementById('root'))